home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Very Best of Atari Inside
/
The Very Best of Atari Inside 1.iso
/
mint
/
mintmant
/
dpathcon.txt
< prev
next >
Wrap
Text File
|
1992-03-24
|
2KB
|
64 lines
Dpathconf(2) Oct. 1, 1991 Dpathconf(2)
NAME
Dpathconf - get information about file system configuration
SYNOPSIS
LONG Dpathconf( char *name, WORD mode );
DESCRIPTION
Dpathconf returns information about various limits or capa-
bilities of the file system containing the file named name.
The variable mode controls which limit or capability is
being queried, as follows:
mode Value Returned
-1 return max. legal value for n in Dpathconf(n)
0 return internal limit on the number of open files
1 return max. number of links to a file
2 return max. length of a full path name
3 return max. length of an individual file name
4 return number of bytes that can be written atomically
5 return information about file name truncation
If any of these items are unlimited, then 0x7fffffffL is
returned.
For mode 5, return information about file name truncation,
the returned value has the following meaning:
0 File names are never truncated; if the file name in any
system call affecting this directory exceeds the max-
imum length (returned by mode 3), then the error value
ERANGE is returned from that system call.
1 File names are automatically truncated to the maximum
length.
2 File names are truncated according to DOS rules, i.e.
to a maximum 8 character base name and a maximum 3
character extension.
SEE ALSO
Sysconf(2)
Version 0.9 Last change: MiNT Programmer's Manual 1